package exceptions;

public final class MudExceptions extends RuntimeException {

    public MudExceptions(String message) {
        super(message);
    }

    public MudExceptions(String message, Throwable cause) {
        super(message, cause);
    }

    public MudExceptions(Throwable cause) {
        super(cause);
    }

    public static MudExceptions invalidMove(){
        return new MudExceptions("\nYou run into a wall.");
    }

    public static MudExceptions invalidCommand(){
        return new MudExceptions("\nI don't get it.");
    }

    public static MudExceptions invalidNPC() {
        return new MudExceptions("\nYou can't attack that");
    }

    public static MudExceptions invalidMoveDown() {
        return new MudExceptions("\nWhat are you going to do?  Crawl through the floor?");
    }

    public static MudExceptions invalidMoveUp() {
        return new MudExceptions("\nYou can't fly, plus there is a ceiling.  You aren't very bright are you?");
    }

    public static MudExceptions invalidHelp() {
        return new MudExceptions("\nThere isn't any help for that subject.");
    }

    public static MudExceptions invalidGet() {
        return new MudExceptions("\nThere isn't one of those here.");
    }

    public static MudExceptions invalidEquip() {
        return new MudExceptions("\nYou don't have that.");
    }

    public static MudExceptions invalidUnequip() {
        return new MudExceptions("\nYou aren't wearing one of those.");
    }

    public static MudExceptions invalidDrop() {
        return new MudExceptions("\nYou don't even have one to drop.");
    }

    public static MudExceptions invalidSlot() {
        return new MudExceptions("\nYou are already wearing something there, and it's too hot to layer.");
    }

    public static MudExceptions invalidOpen() {
        return new MudExceptions("\nYou can't open that.");
    }

    public static MudExceptions invalidLook() {
        return new MudExceptions("\nYou can't look at that");
    }

    public static MudExceptions itemNotOpen() {
        return new MudExceptions("\nThat isn't open");
    }

    public static MudExceptions invalidFlee() {
        return new MudExceptions("\nYou fail to flee.  You tried to run away, and you failed.");
    }

    public static MudExceptions notInCombat() {
        return new MudExceptions("\nYou aren't in combat");
    }

    public static MudExceptions invalidCombat() {
        return new MudExceptions("\nYou are already in combat");
    }

    public static MudExceptions inCombat() {
        return new MudExceptions("\nYou can't do that while you are fighting.");
    }

    public static MudExceptions invalidUse() {
        return new MudExceptions("\nThat isn't something that you can use, or abuse for that matter");
    }

    public static MudExceptions invalidCheat() {
        return new MudExceptions("\nDon't cheat");
    }

}
